package cn.qihua.dao;

import java.util.List;

import org.hibernate.SessionFactory;

import cn.qihua.model.LogOrder;

public interface ILogOrderDAO {

	// property constants
	public static final String NBID = "nbid";
	public static final String ORDER_ID = "orderId";
	public static final String USER_ID = "userId";
	public static final String MEMO = "memo";
	public static final String IS_NEW = "isNew";

	public abstract void setSessionFactory(SessionFactory sessionFactory);

	public abstract void save(LogOrder transientInstance);

	public abstract void delete(LogOrder persistentInstance);

	public abstract LogOrder findById(java.lang.Integer id);

	public abstract List findByExample(LogOrder instance);

	public abstract List findByProperty(String propertyName, Object value);

	public abstract List findByNbid(Object nbid);

	public abstract List findByOrderId(Object orderId);

	public abstract List findByUserId(Object userId);

	public abstract List findByMemo(Object memo);

	public abstract List findByIsNew(Object isNew);

	public abstract List findAll();

	public abstract LogOrder merge(LogOrder detachedInstance);

	public abstract void attachDirty(LogOrder instance);

	public abstract void attachClean(LogOrder instance);

	public abstract Boolean update(LogOrder transientInstance);

}